Estimating Quality of JavaScript
نویسندگان
چکیده
This paper proposes a complexity metric for Java script since JavaScript is the most popular scripting language that can run in all of the major web browsers. The proposed metric “JavaScript Cognitive Complexity Measure (JCCM)” is intended to assess the design quality of scripts. The metrics has been evaluated theoretically and validated empirically through real test cases. The metric has also been compared with other similar metrics. The theoretical, empirical validation and comparative study prove the worth and robustness of the metric.
منابع مشابه
Estimating the pattern frequency spectrum inside the browser
We present a browser application for estimating the number of frequent patterns, in particular itemsets, as well as the pattern frequency spectrum. The pattern frequency spectrum is defined as the function that shows for every value of the frequency threshold σ the number of patterns that are frequent in a given dataset. Our demo implements a recent algorithm proposed by the authors for finding...
متن کاملAutomatic Unit Test Generation and Execution for JavaScript Program through Symbolic Execution
JavaScript is expected to be a programming language of even wider use, considering demands for more interactive web/mobile applications. While reliability of JavaScript code will be of more importance, testing techniques for the language remain insufficient compared to other languages. We propose a technique to automatically generate high-coverage unit tests for JavaScript code. The technique m...
متن کاملInterferential Current Ability to Change the Pattern of Brain Activity in Patients With Nonspecific Low Back Pain
Objectives: Chronic low back pain (CLBP), along with physical limitations that affect the quality of life, is one of the most important problems in the health community. The pain causes a wide range of structural, functional, and neurological changes in the brain. However, these changes have not been well studied, as brain changes in other chronic pains. This study aimed to evaluate the changes...
متن کاملMutation Analysis for JavaScriptWeb Application Testing
When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for...
متن کاملBeyond JavaScript: Building Stable Web Applications
JavaScript is the dominant language in web application development, and allows for the creation of powerful and cross-platform applications. However, as a dynamically typed language with a constantly expanding array of features and a knack for concealing errors, JavaScript is often hard to maintain in large applications. In this paper I explore two programming languages, Elm and Reason, that pr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Int. Arab J. Inf. Technol.
دوره 9 شماره
صفحات -
تاریخ انتشار 2012